%% -*- mode: erlang -*-
{VSN,
 [
   {"4.3.1", [
     {load_module, emqx_ws_connection, brutal_purge, soft_purge, []},
     {load_module, emqx_connection, brutal_purge, soft_purge, []},
     {load_module, emqx_frame, brutal_purge, soft_purge, []},
     {load_module, emqx_cm, brutal_purge, soft_purge, []},
     {load_module, emqx_congestion, brutal_purge, soft_purge, []},
     {load_module, emqx_node_dump, brutal_purge, soft_purge, []},
     {load_module, emqx_channel, brutal_purge, soft_purge, []},
     {load_module, emqx_app, brutal_purge, soft_purge, []},
     {load_module, emqx_plugins, brutal_purge, soft_purge, []},
     {load_module, emqx_logger_textfmt, brutal_purge, soft_purge, []}
   ]},
   {"4.3.0", [
     {load_module, emqx_logger_jsonfmt, brutal_purge, soft_purge, []},
     {load_module, emqx_ws_connection, brutal_purge, soft_purge, []},
     {load_module, emqx_congestion, brutal_purge, soft_purge, []},
     {load_module, emqx_connection, brutal_purge, soft_purge, []},
     {load_module, emqx_frame, brutal_purge, soft_purge, []},
     {load_module, emqx_trie, brutal_purge, soft_purge, []},
     {load_module, emqx_cm, brutal_purge, soft_purge, []},
     {load_module, emqx_node_dump, brutal_purge, soft_purge, []},
     {load_module, emqx_channel, brutal_purge, soft_purge, []},
     {load_module, emqx_app, brutal_purge, soft_purge, []},
     {load_module, emqx_plugins, brutal_purge, soft_purge, []},
     {load_module, emqx_logger_textfmt, brutal_purge, soft_purge, []},
     %%
     {load_module, emqx_metrics, brutal_purge, soft_purge, []},
     {apply, {emqx_metrics, upgrade_retained_delayed_counter_type, []}}
   ]},
   {<<".*">>, []}
 ],
 [
   {"4.3.1", [
     {load_module, emqx_ws_connection, brutal_purge, soft_purge, []},
     {load_module, emqx_connection, brutal_purge, soft_purge, []},
     {load_module, emqx_frame, brutal_purge, soft_purge, []},
     {load_module, emqx_cm, brutal_purge, soft_purge, []},
     {load_module, emqx_congestion, brutal_purge, soft_purge, []},
     {load_module, emqx_node_dump, brutal_purge, soft_purge, []},
     {load_module, emqx_channel, brutal_purge, soft_purge, []},
     {load_module, emqx_app, brutal_purge, soft_purge, []},
     {load_module, emqx_plugins, brutal_purge, soft_purge, []},
     {load_module, emqx_logger_textfmt, brutal_purge, soft_purge, []}
   ]},
   {"4.3.0", [
     {load_module, emqx_logger_jsonfmt, brutal_purge, soft_purge, []},
     {load_module, emqx_ws_connection, brutal_purge, soft_purge, []},
     {load_module, emqx_connection, brutal_purge, soft_purge, []},
     {load_module, emqx_congestion, brutal_purge, soft_purge, []},
     {load_module, emqx_frame, brutal_purge, soft_purge, []},
     {load_module, emqx_trie, brutal_purge, soft_purge, []},
     {load_module, emqx_cm, brutal_purge, soft_purge, []},
     {load_module, emqx_node_dump, brutal_purge, soft_purge, []},
     {load_module, emqx_channel, brutal_purge, soft_purge, []},
     {load_module, emqx_app, brutal_purge, soft_purge, []},
     {load_module, emqx_plugins, brutal_purge, soft_purge, []},
     {load_module, emqx_logger_textfmt, brutal_purge, soft_purge, []},
     %% Just load the module. We don't need to change the 'messages.retained'
     %% and 'messages.retained' counter type.
     {load_module, emqx_metrics, brutal_purge, soft_purge, []},
     {apply, {emqx_metrics, upgrade_retained_delayed_counter_type, []}}
   ]},
   {<<".*">>, []}
 ]
}.
